class student:
    def __init__(self,name):
        self.name=name
    def __str__(self):
        return f'我是{self.name}'
    def __call__(self,*args,**kwargs):
        for i in args:
            print(f"我{self.name}有个位置参数叫{i}")
        for i in kwargs:
            print(f"我{self.name}有个关键字参数{i}:{kwargs[i]}")
    def __getattr__(self,item):
        print(f'我{self.name}没有{item}这样的参数')
    def __getattribute__(self,item):
        print(item)
        return super().__getattribute__(item)

student1=student('张三')
student1('a','b',grade=1)
print(student1)
student1.abc
student1.name